use RD_DWCR;
select BatchDate,CompanyNumber  from JDEOWARLEDGER
where
SalesDocumentNumber=51556125

use MicroStrategy_Views;

select BatchdateID, OrderNumber,Sales_FactsextID from Sales_Star_BatchDateID 
where
OrderNumber=51556125

use RD_ARMART;

select  top 1000 BatchDateID,company,DocumentNumber, DocumentType from dbo.AR_Star_Facts
where SalesDocumentNumber=51556125

